package com.tengju.bff.interfaces.covercharge.entity.vo.contract;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author liang_shi
 * @date 2020/7/13 16:38
 * @description 用模版变量的手动签
 */
@Data
@ApiModel(value = "手动签-用模版变量的手动签")
public class HandSignContractReq implements Serializable {

    /**
     * 模板编号
     */
    @ApiModelProperty(value = "合同编号", required = true)
    private String contractId;

    @ApiModelProperty(value = "签名图片显示高度")
    private String signatureImageHeight;

    @ApiModelProperty(value = "签名图片显示宽度")
    private String signatureImageWidth;

    @ApiModelProperty(value = "手写笔记识别")
    private String hwr;

    @ApiModelProperty(value = "签署链接的过期时间")
    private String expireTime;

    /**
     * 模板编号
     */
    @ApiModelProperty(value = "模板编号", required = true)
    private String tid;

    /**多个用逗号分隔*/
    @ApiModelProperty(value = "模版变量值", required = true)
    private String varNames;

    @ApiModelProperty(value = "签署者账号", required = true)
    private String signer;

    @ApiModelProperty(value = "签名图片，base64编码字符串")
    private String signatureImageData;

    /**
     * 登录IP
     */
    @ApiModelProperty(value = "登录IP")
    private String loginIp;

    /**
     * 签署IP
     */
    @ApiModelProperty(value = "签署IP")
    private String signIp;

    /**
     * 签署者登录开发者平台的登录时间
     */
    @ApiModelProperty(value = "登录时间")
    private String loginTime;

    /** 0点击签名图片不会触发手写面板（禁止手写）。 1点击签名图片能触发手写面板（既可手写也可使用默认签名）。*/
    @ApiModelProperty(value = "手动签署时是否手绘签名", required = true)
    private String isDrawSignatureImage;

    @ApiModelProperty(value = "签名/印章图片", required = true)
    private String signatureImageName;

    @ApiModelProperty(value = "异步通知地址")
    private String pushUrl;

    /**3”-v3版本，UI优化，移动端手绘面板自动横屏*/
    @ApiModelProperty(value = "手动签的版本")
    private String version;

    @ApiModelProperty(value = "校验手机号")
    private String vcodeMobile;

    @ApiModelProperty(value = "指定接收验证码的邮箱")
    private String vcodeMail;

    /**签署完成页面回跳地址*/
    @ApiModelProperty(value = "签署完成页面回跳地址")
    private String returnUrl;

    @ApiModelProperty(value = "签名图片上是否显示手写签名的时间")
    private String isShowHandwrittenTime;

    @ApiModelProperty(value = "是否允许拖动签名位置")
    private String isAllowChangeSignaturePosition;

    @ApiModelProperty(value = "是否使用刷脸签")
    private String isFaceAuth;

    @ApiModelProperty(value = "强制阅读时长")
    private String forceReadingSeconds;

    @ApiModelProperty(value = "默认为0 0-无需拖动到页面底部即可确认签署 1-必须拖动到页面底部，表示阅读完毕才能确认签署")
    private String readAll;
}
